home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / MPW C++ / MPW C++ 3.1 / CPlus.help < prev    next >
Text File  |  1990-09-11  |  8KB  |  128 lines

  1. MPW C++ 3.1 Help Summary
  2.  
  3. Help information is available for each of the C++ commands.
  4.  
  5.     To see help information, type
  6.     
  7.     Help -f {MPW}CPlus.Help <command>, e.g. 
  8.     
  9.     Help -f {MPW}Cplus.Help CPlus
  10.     
  11.     Or simply paste this information into your MPW.Help file
  12.         
  13.     Copyright Apple Computer, Inc. 1990
  14.     All rights reserved.
  15. -
  16.  
  17. CFront [option…] [file…] < file > intermediate output ≥ progress
  18.     -a                        # force ANSI-style intermediate C code (default)
  19.     -a0                        # force K&R-style (pre-ANSI) intermediate C code
  20.     -a1                        # force ANSI-style intermediate C code (default)
  21.     -c                        # intermediate code to standard output; no object file
  22.     -d name                 # equivalent to: #define name 1
  23.     -d name=string          # equivalent to: #define name string
  24.     -dump filename            # save state of C++ compilation in filename
  25.     -dumpc filename            # save state of C++ compilation in filename (compressed)
  26.     -e                      # write preprocessor results to output
  27.     -e2                     # implies '-e' above, and strips comments
  28.     -elems881               # generate MC68881 code for transcendentals
  29.     -f filename                # act as if input comes from named file when it actually is from stdin 
  30.     -i directory            # search for includes in directory
  31.     -l                        # in C output generate #line nn directives as #nn
  32.     -l0                        # in C output generate no #line nn directives at all
  33.     -load filename            # load saved C++ compilation state from filename
  34.     -mark fcts|types|data    # create MPW markers for the specified items in file being compiler
  35.     -mark all                # create MPW markers for all of the above
  36.     -maxerrors <n>            # specify that CFront abort after reporting <n> errors (default 12)
  37.     -mbg ch8                # v2.0 compatible macsbug symbols
  38.     -mbg off                # no macsbug symbols in the code (link/unlk only if necessary)
  39.     -mbg on|full            # full macsbug symbols
  40.     -mbg <n>                # macsbug symbols to length <n> (<n> can be 0..255)
  41.     -mc68020                # generate MC68020 code 
  42.     -mc68881                # generate MC68881 code for arithmetic operations
  43.     -mf                        # use MultiFinder memory if there is not enough MPW memory
  44.     -mtbl0                    # suppress output of method tables for Object Pascal classes
  45.     -mtbl1                    # force output of method tables for Object Pascal classes
  46.     -p                      # write progress information to diagnostic
  47.     -s segment              # generate code in segment
  48.     -sym off                # no SADE records
  49.     -sym on|full            # full SADE records; can modify with [,nolines] [,notypes] [,novars]
  50.     -u name                 # equivalent to: #undef name
  51.     -vtbl0                    # suppress output of virtual tables for ordinary classes
  52.     -vtbl1                    # force output of virtual tables for ordinary classes
  53.     -w                      # suppress warnings
  54.     -w1                        # generate additional warnings from CFront
  55.     -w2                        # generate maximum warnings from CFront and the C compiler
  56.     -y directory            # create temporary files in directory
  57.     -z0                        # force 'inline' functions to be non-inline
  58.     -z3                        # suppress name encoding of local vars and struct members (default)
  59.     -z4                        # encode names of local vars and struct members
  60.     -z6                        # force enums always to be int variables
  61.     -z7                        # relax requirement on static class member initialization
  62.     
  63.     Note: CFront does not generate object files.  To compile a C++ program, use the CPlus command.
  64. -
  65.  
  66. CPlus [option…] [file…] < file > intermediate output ≥ progress
  67.     -a                        # force ANSI-style intermediate C code (default)
  68.     -a0                        # force K&R-style (pre-ANSI) intermediate C code
  69.     -a1                        # force ANSI-style intermediate C code (default)
  70.     -b                        # passed thru to C compiler (put string constants into code and generate PC-relative references)
  71.     -b2                     # passed thru to C compiler (implies '-b' above, and allows string constants to be overlaid)
  72.     -b3                     # passed thru to C compiler (overlaid string constants in code--but not PC-relative refs.)
  73.     -c                        # intermediate code to standard output; no object file
  74.     -comp name options        # use a different C compiler in "name" and give it "options"
  75.     -d name                 # equivalent to: #define name 1
  76.     -d name=string          # equivalent to: #define name string
  77.     -dump filename            # save state of C++ compilation in filename
  78.     -dumpc filename            # save state of C++ compilation in filename (compressed)
  79.     -e                      # write preprocessor results to output
  80.     -e2                     # implies '-e' above, and strips comments
  81.     -elems881               # generate MC68881 code for transcendentals
  82.     -f filename                # act as if input comes from named file when it actually is from stdin 
  83.     -i directory            # search for includes in directory
  84.     -l                        # in C output generate #line nn directives as #nn
  85.     -l0                        # in C output generate no #line nn directives at all
  86.     -load filename            # load saved C++ compilation state from filename
  87.     -m                      # passed to C compiler: generate 32-bit references for data
  88.     -mark fcts|types|data    # create MPW markers for the specified items in file being compiled
  89.     -mark all                # create MPW markers for all of the above
  90.     -maxerrors <n>            # specify that CFront abort after reporting <n> errors (default 12)
  91.     -mbg ch8                # v2.0 compatible macsbug symbols
  92.     -mbg off                # no macsbug symbols in the code (link/unlk only if necessary)
  93.     -mbg on|full            # full macsbug symbols
  94.     -mbg <n>                # macsbug symbols to length <n> (<n> can be 0..255)
  95.     -mc68020                # generate MC68020 code 
  96.     -mc68881                # generate MC68881 code for arithmetic operations
  97.     -mf                        # use MultiFinder memory if there is not enough MPW memory
  98.     -mtbl0                    # suppress output of method tables for Object Pascal classes
  99.     -mtbl1                    # force output of method tables for Object Pascal classes
  100.     -o objname              # generate code in file or directory objname
  101.     -opt on|off                # passed to C compiler: turn optimization on (default) or off
  102.     -p                      # write progress information to diagnostic
  103.     -patch                    # use AT&T's "patch" mechanism for static constructors (use with -comp)
  104.     -s segment              # generate code in segment
  105.     -sym off                # no SADE records
  106.     -sym on|full            # full SADE records; can modify with [,nolines] [,notypes] [,novars]
  107.     -t                      # passed to C compiler: write compilation time to diagnostic
  108.     -trace on                # passed to C compiler: generate tracing code--calls to %_EP and %_BP
  109.     -trace off                # passed to C compiler: generate no tracing code (default)
  110.     -trace always            # passed to C compiler: always generate tracing code--calls to %_EP and %_BP
  111.     -trace never            # passed to C compiler: never generate tracing code (default)
  112.     -u name                 # equivalent to: #undef name
  113.     -vtbl0                    # suppress output of virtual tables for ordinary classes
  114.     -vtbl1                    # force output of virtual tables for ordinary classes
  115.     -w                      # suppress warnings
  116.     -w1                        # generate additional warnings from CFront
  117.     -w2                        # generate maximum warnings from CFront and the C compiler
  118.     -w3                        # passed through to C compiler (supresses "unused" warnings)
  119.     -x filename                # generate C code for a different processor, using size and alignment info in filename
  120.     -y directory            # create temporary files in directory
  121.     -z0                        # force 'inline' functions to be non-inline
  122.     -z3                        # suppress name encoding of local vars and struct members (default)
  123.     -z4                        # encode names of local vars and struct members
  124.     -z6                        # force enums always to be int variables
  125.     -z7                        # relax requirement on static class member initialization
  126. -
  127.  
  128.